﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.Mvc;

using DataModel.Managers;
using DataModel.Models;

namespace UniversityPortal.Controllers
{
    public class UniversityStructureController : Controller
    {
        //
        // GET: /UniversityStructure/

        public ActionResult Index()
        {
            List<DepartmentModel> departments = (new DepartmentManager()).GetAllDepartments();
            return View(departments);
        }

    }
}
